package com.jhws.business.card.bo;


/**
 * @author yangtao
 * @date 2017/1/18
 */
public class CardRecord {
    private int id;
    private int state;
    private int openDoorType;
    private int cardType;
    private String cardNumber;
    private long cardTime;
    private String deviceNum;
    private Integer direction; // 进门还是出门
    private String tempFile; // 照片文件名
    private String mac; //设备mac

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getOpenDoorType() {
        return openDoorType;
    }

    public void setOpenDoorType(int openDoorType) {
        this.openDoorType = openDoorType;
    }

    public int getCardType() {
        return cardType;
    }

    public void setCardType(int cardType) {
        this.cardType = cardType;
    }

    public String getCardNumber() {
        return cardNumber;
    }

    public void setCardNumber(String cardNumber) {
        this.cardNumber = cardNumber;
    }

    public long getCardTime() {
        return cardTime;
    }

    public void setCardTime(long cardTime) {
        this.cardTime = cardTime;
    }

    public Integer getDirection() {
        return direction;
    }

    public void setDirection(Integer direction) {
        this.direction = direction;
    }

    public String getDeviceNum() {
        return deviceNum;
    }

    public void setDeviceNum(String deviceNum) {
        this.deviceNum = deviceNum;
    }

    public String getTempFile() {
        return tempFile;
    }

    public void setTempFile(String tempFile) {
        this.tempFile = tempFile;
    }

    public String getMac() {
        return mac;
    }

    public void setMac(String mac) {
        this.mac = mac;
    }

    @Override
    public String toString() {
        return "CardRecord{" +
                "id=" + id +
                ", state=" + state +
                ", openDoorType=" + openDoorType +
                ", cardType=" + cardType +
                ", cardNumber='" + cardNumber + '\'' +
                ", cardTime=" + cardTime +
                ", deviceNum='" + deviceNum + '\'' +
                ", direction=" + direction +
                ", tempFile='" + tempFile + '\'' +
                ", mac='" + mac + '\'' +
                '}';
    }
}
